<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'deviceDetail.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--框架必需start-->
	<script type="text/javascript" src="ui/js/jquery.js"></script>
	<script type="text/javascript" src="ui/js/framework.js"></script>
	<link href="ui/css/import_basic.css" rel="stylesheet" type="text/css"/>
	<link rel="stylesheet" type="text/css" id="skin" prePath="/"/>
	<link rel="stylesheet" type="text/css" id="customSkin"/>
	<link href="ui/skins/blue/style.css" rel="stylesheet" type="text/css" id="theme" themeColor="blue"/>
	<!--框架必需end-->
	<script type="text/javascript">
		$(function(){
		$("#device").val(top.document.getElementById("frmright").contentWindow.device);
		alert(device);
	});
	</script>
</head>
	<body>
		设备名：<s:property value="devicedName"/><br>
		设备编号：<s:property value="device.dId"/><br>
		设备类型：<s:if test="device.dType==1">PC机<br></s:if>
							<s:if test="device.dType==0">打印机<br></s:if>
		设备IP：<s:property value="device.dIp"/><br>
		硬件信息：<s:property value="device.hardware"/><br>
		软件信息<s:property value="device.software"/><br>
		所属域：<s:property value="device.dBid"/><br>
	</body>
</html>
